package com.zhanghe.study.design_pattern.stragety_pattern;

/**
 * 策略模式
 * @author zh
 * @date 2022/10/16 17:26
 */
public class Main {
    public static void main(String[] args) {
        Strategy strategy = new ConcreteStrategyA();

        Context context = new Context(strategy);
        context.contextInterface();
    }
}
